//
//  UIPickerController.h
//  cutter
//
//  Created by mac on 15/12/15.
//  Copyright © 2015年 e360. All rights reserved.
//
#import <Photos/Photos.h>
#import "AssetsCustom.h"

//相册
@interface AssetsPickerPhotosGroups : AssetsCustomTable
@property (nonatomic, strong) NSArray *groups;
@end

@interface AssetsPickerPhotos : AssetsCustomCollection
@property (nonatomic, strong) PHAssetCollection *group;
@property (nonatomic, assign) NSInteger column;
@property (nonatomic, strong) NSArray *assets;
@end


//分组
@interface AssetsPickerGroups : AssetsCustomTable
@property (weak, nonatomic) IBOutlet UITextField *nameView;
@end


//相机
@interface AssetsPickerCamera : UIImagePickerController <UINavigationControllerDelegate, UIImagePickerControllerDelegate>
@property(strong, nonatomic) UIImage *image;
@property(nonatomic, copy) blockEvent onSelected;
@end


//图片名
@interface AssetsPickerSetName : AssetsCustomTable
@property (strong, nonatomic) NSDictionary *directory;
@property (weak, nonatomic) IBOutlet UITextField *nameView;
@property (weak, nonatomic) IBOutlet UILabel *groupView;
@property(strong, nonatomic) UIImage *image;
@end


//图片分组
@interface AssetsPickerSetGroup : AssetsCustomTable<UITextFieldDelegate>
@property (weak, nonatomic) UITextField *nameView;
@property (strong, nonatomic) NSArray *data;
@end

//
@interface AssetsPicker : AssetsCustomTable
@end